#include <stdlib.h>
#include <stdio.h>
#include <string.h>

#define ROOT "www"


int
main(void)
{ 
  char res[4096];
  int taille = 10;
  char *truc = malloc(taille*sizeof(char));

  for (int i = 0; i < 100; i++)
    {
      taille++;
      truc = realloc(truc,taille*sizeof(char));

    }

  strcpy(truc,"okok");
  printf("%s\n",truc);
  return 0;
}

